/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package core.messages.client.creation;
import core.messages.Msg_One;

/**
 * 客户端发送，表示确定选哪个武将的消息
 * @author Invince
 */
public class Msg_Role_Select extends Msg_One{
/*----------Attributs-------------------*/
    /**
     * 武将的id，之后在DateBase的武将列表里找
     */
    protected int idRole;
/*----------Public functions------------*/
/*----------Private functions-----------*/
/*----------Constructor-----------------*/
    public Msg_Role_Select(String sender, String receiver,int idRole) {
        super(sender, receiver);
        this.idRole=idRole;
    }

/*----------Gets and sets---------------*/
    public int getIdRole() {
        return idRole;
    }

    public void setIdRole(int idRole) {
        this.idRole = idRole;
    }

}
